package com.xuanyue.componentdemo.comment.token;

import com.xuanyue.componentauth.token.TokenCfg;
import org.springframework.stereotype.Component;

@Component
public class ITokenCfg implements TokenCfg{
    @Override
    public Integer getExpiresMinute() {
        return 30;
    }

    @Override
    public String getSecretKey() {
        return "dasdasd";
    }

    @Override
    public String getHeaderName() {
        return "token";
    }
}
